#' @param emptyval can be used to specify the value returned if the network does not have any actors
#'   with degree in the specified range. This is, technically, an arbitrary value, but it should
#'   not have a substantial effect unless a non-negligible fraction of
#'   networks at the parameter configuration of interest has no actors
#'   with specified degree.
